package demo.standard;

public class ConcreteStateB implements IState {

    @Override
    public void behavior1(Context context) {
        System.out.println("状态ConcreteStateB不支持行为1");
    }

    @Override
    public void behavior2(Context context) {
        // do something
        //....
        System.out.println("状态ConcreteStateB完成行为2");
    }
}
